package com.teama4.shop.service;

import com.teama4.shop.domain.Commodity;
import com.teama4.shop.domain.CommoditySpecification;
import com.teama4.shop.domain.SearchCommodity;

import java.util.List;

public interface SearchServiceExt {
    SearchCommodity searchByName(String name, String sort,int pageNum, int pageSize);
   SearchCommodity searchedByBuyCount(String name,String sort, int pageNum, int pageSize);
   SearchCommodity searchedByPrice(String name, String sort,int pageNum, int pageSize);
   SearchCommodity searchedByViewCount(String name,String sort, int pageNum, int pageSize);
   SearchCommodity searchedByMaxMinPrice(String name,Double maxPrice,Double minPrice,int pageNum, int pageSize);

}
